package com.yuanyu.mapper.mysqlMapper;


import com.yuanyu.model.entity.Admin;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author author
 * @since 2024-10-21
 */
@Mapper
public interface AdminMapper {

    @Select("Select * from admin where username = #{username}")
    Admin selAdminByUsername(String username);

    @Update("update admin set password = #{password} where username = #{username}")
    int UpdateAdminByUsername(Admin admin);

    /*
    * UPDATE factory_test_report
        SET <include refid="Base_Column_List3"/>
        WHERE input_Case = #{input_Case};*/
}
